package com.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.common.domain.dto.PageDTO;
import com.graduation.pojo.po.Tag;
import com.graduation.pojo.query.TagQuery;
import com.graduation.pojo.vo.TagVO;

public interface TagService extends IService<Tag> {

    PageDTO<TagVO> pageTags(TagQuery query);

    TagVO getTagById(Long id);

    void saveTag(Tag tag);

    void updateTag(Tag tag);

    void deleteTag(Long id);

}
